import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/iconfont/iconfont.css'
// element ui
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as icons from '@element-plus/icons-vue'

const app = createApp(App)
app.use(store).use(router).use(ElementPlus)
Object.keys(icons).forEach(key => {
  app.component(key, icons[key])
})
app.mount('#app')
